package com.windfone.dao;

import java.util.List;

import com.windfone.model.Product;

public interface ProductDao {
    public int deleteProduct(int keyValue);
    public int getAllRecorderNumber(String whereCondition );
    public int updateProduct(Product bean);
    public int updateProductStatus( int id , int status );
    public int insertProduct(Product bean );
    public List<Product> getProductById(int keyValue);
    public List<Product> getAllProduct(int beginRecord,String whereCondition);
    public List<Product> getAllProductByStatus(int typeId,int status);
	/*public List<Product> getHotMachine(int commendFlag);*/
	public List<Product> getCommendProductByCommendType(String recommendTypeName);
	public List<Product> getAllProductByWherecondition(String whereStr);
	public List<Product> searchByReference(int typeId, double price);
}
